home *** CD-ROM | disk | FTP | other *** search
/ Commodore Free 40 / Commodore_Free_Issue_40_2010_Commodore_Computer_Club.d64 / iv anders < prev    next >
Text File  |  2023-02-26  |  12KB  |  403 lines

  1.  
  2.  
  3. *************************************
  4.     INTERVIEW WITH ANDERS PERSSON
  5. *************************************
  6.        Creator of PRG Starter
  7.  
  8. Q. Please introduce yourself to our
  9. readers
  10.  
  11. Hello! My name is Anders Persson and
  12. I'm 37 years old. I'm living in
  13. Sweden with my fianc and a dog.
  14. Commodore 8 bit computers is one of
  15. my hobbies. I have four Vic-20s, one
  16. C64, three Plus/4s, two C128s and
  17. one C128D.
  18.  
  19. Q. What do you do for a day job?
  20.  
  21. I have no day job except for a small
  22. part time job as a webmaster for two
  23. web sites.
  24.  
  25. Q. Can you tell our readers a little
  26. about your computing history
  27.  
  28. My brother bought a Commodore Vic-20
  29. in 1982. Later when my friends
  30. bought computers like C64 and C128,
  31. I bought my brother's Vic-20 this
  32. was in 1987. After a year I got a
  33. C64 too. Then after some years I
  34. bought an Amiga 500. I upgraded to
  35. an Amiga 1200 with a hard drive when
  36. it first came out. I didn't get a PC
  37. until 1999. When it died after a
  38. couple of years, I went back to the
  39. Amiga for a while and then back to
  40. Windows. Today, I'm using Windows
  41. Vista. And I actually like it!
  42.  
  43. I started programming the first day
  44. I bought my Vic-20. On the Amiga,
  45. some might recall my programs
  46. "Selector" and "BorayLetter".
  47. Selector was even on the front cover
  48. of the Amiga Format magazine once:
  49. http://user.tninet.se/{$de}zmj477m/select
  50. orclip/
  51.  
  52. I also made a lot of Protracker mods
  53. with the Amiga. They are available
  54. on Aminet under mods/boray
  55.  
  56. Q. Yes you are indeed very musical
  57. you have a website selling mp3
  58. albums - http://listen.to/boray -
  59. can you tell our readers a little
  60. about your musical developments,
  61. also how successful have the albums
  62. been.
  63.  
  64. I have always made music. I have
  65. made over 300 tunes. I compose and
  66. record here at home. I play guitars,
  67. keyboard, bass and drums. Now a days
  68. I record and mix on the PC. Before
  69. that, I recorded on a stand alone
  70. digital recording workstation synced
  71. to my Amiga1200.
  72.  
  73. When I started selling CDs in 1998,
  74. it was fairly easy to sell. But
  75. today, even though my music is much
  76. better, people just expect music to
  77. be free!
  78.  
  79. Q. Although the information is
  80. printed elsewhere in this issue of
  81. Commodore Free please can you
  82. explain "PRG Starter"
  83.  
  84. It's a little helper for the VICE
  85. emulator. The various files used by
  86. emulators (prg, d64, d81, t64, p00
  87. etc) are all used by all of the
  88. emulators in the VICE package (and
  89. other emulators as well of
  90. course)... So, for any prg file or
  91. d64 etc, you had to keep track of
  92. which emulator they go to and what
  93. settings they require. The Vic-20
  94. was especially troublesome as
  95. different files require different
  96. ram settings. Now, with PRG Starter,
  97. you don't have to bother with this
  98. at all. You just double click a file
  99. and it auto starts in the right
  100. emulator.
  101.  
  102. Q. Could the software be adapted to
  103. other emulators other than VICE
  104.  
  105. First I thought of having some sort
  106. of settings screen where you could
  107. adjust all the different start
  108. commands and options. But I decided
  109. that it would be just too many
  110. options and that it would be better
  111. to keep it simple. Another thought I
  112. had was to have an option for using
  113. YAPE instead of VICE xplus4 as I
  114. know that YAPE is a popular emulator
  115. among Plus/4 users. That is more
  116. likely to happen, but for now, I'm
  117. happy with it being just a VICE
  118. helper.
  119.  
  120. Q. Has the software been tested
  121. successfully under Mac OS and Linux
  122.  
  123. It has been tested successfully on
  124. Linux (Fedora 12 x86_64). You need
  125. the right Mono packages installed.
  126. It has not been tested on Mac (as
  127. far as I know). The "Setup" button
  128. will not appear if you don't run it
  129. on Windows, so you have to attach
  130. the file types etc yourself.
  131.  
  132. Q. What was the inspiration for the
  133. project and How did you start to
  134. code the software, for example: you
  135. have some PRG files and d64 images
  136. how do you start writing a piece of
  137. software
  138.  
  139. In year 2004 I wrote a program
  140. called "PRG Info" for the Amiga. It
  141. was one of the help tools in a
  142. package I called "vic-emu-tools".
  143. PRG Info was made to analyze a PRG
  144. file, provide information on how to
  145. run it on a real computer and on
  146. vic-emu for the Amiga. The package
  147. also contained a script called
  148. "vicstart" that used PRG Info to
  149. start cartridge files in vic-emu.
  150. So, I had the basic idea to PRG
  151. Starter 6 years ago already.
  152.  
  153. Later, in 2007, I think I asked a
  154. fellow Vic-20 user "Bjrg
  155. Stojalowski" to make a PC version of
  156. PRG Info, or if he asked me. Anyway,
  157. I shared my source code with him,
  158. and he made a PC version. It's
  159. available here:
  160. http://user.tninet.se/{$de}pug510w/datorm
  161. useum/prginfo.html
  162.  
  163. In 2009 (I think), I posted a
  164. suggestion to the VICE team, to make
  165. a better auto start feature in XVIC
  166. as that is the machine that is most
  167. difficult to set up. New users on
  168. the Vic-20 Denial forum almost
  169. always ask how to run different
  170. files. I suggested to the VICE team
  171. that they could use the same kind of
  172. detection used in "PRG Info" in XVIC
  173. and I attached the source of my
  174. Amiga version. I didn't get any
  175. answer.
  176.  
  177. In the start of 2010, I had not
  178. programmed on Windows since 2000
  179. (when I worked as a C++ programmer).
  180. I had been programming some Vic-20
  181. stuff since then, but not anything
  182. for a modern computer. But now I
  183. suddenly felt like taking it up
  184. again. I found (to my big surprise)
  185. that there was a completely free
  186. version of Visual Basic 2008
  187. available from Microsoft. I think
  188. it's a very nice programming
  189. environment (and it's about 1-2
  190. million times faster than basic on a
  191. Vic-20!). First, I made a Windows
  192. version of another old Amiga program
  193. of mine called "SimMail". After that
  194. I started on a new version of "PRG
  195. Info" that would take one step
  196. further and not only tell how to run
  197. a file, it should actually start it.
  198. So "PRG Starter" was the logical
  199. name. I based it on the Amiga
  200. version. There probably still exists
  201. code segments in there from the
  202. Amiga version.
  203.  
  204. As soon as I released the first
  205. version, another fellow Vic-user
  206. "Robert Hurst" asked for a Linux
  207. version. As I didn't know about the
  208. Mono project by then (that let's you
  209. run .NET applications on Linux), I
  210. let him make his own Linux version
  211. from scratch after looking at my
  212. source code. He made some additions,
  213. for example .P00 support. That
  214. inspired me to do the same thing.
  215. Since my first release (that only
  216. supported PRG files), I have added
  217. support for .P00, .P01, .P02 etc,
  218. .D64, .D41, .D71, .D81, .T64 and
  219. .CRT. And I have added other various
  220. enhancements as well.
  221.  
  222. Q. How Does the software pickup what
  223. machine the files are for
  224.  
  225. The first two bytes of a PRG file is
  226. the 16-bit loading address of the
  227. file. This is the address from which
  228. the file was saved. If you load the
  229. file ,8,1 then the file will be
  230. loaded into this address. If you
  231. load it just ,8 then it will be
  232. loaded to the standard program
  233. address. (VICE always loads ,8,1
  234. when autostarting). The different
  235. Commodores have different standard
  236. start addresses for their basic
  237. memory. Vic-20 even has different
  238. addresses for different memory
  239. configurations. So has the C128 and
  240. Plus/4 when using basic graphics.
  241. There are other standard addresses,
  242. for example for various Vic-20
  243. cartridge files.
  244.  
  245. So the starting address and file
  246. size is of big use when analyzing
  247. what computer the file belongs to.
  248. But for some machines it's not as
  249. easy as that. The unexpanded Vic-20
  250. and the Plus/4 share the same
  251. starting address and so does the PET
  252. and the Vic-20 equipped with a 3K
  253. expansion. So there needs to be some
  254. analyzing. Here is a description of
  255. the routine telling the unexpanded
  256. Vic-20 apart from the Plus/4:
  257.  
  258. If the file is too big for an
  259. unexpanded Vic-20, then it's for a
  260. Plus/4. If it's small enough, then
  261. the basic code is scanned for Basic
  262. V3.5 commands and for any colour
  263. codes 8-15 in strings. If any are
  264. found, then it's a Plus/4 program.
  265. Then, it's scanned for basic access
  266. of the ted chip and for a certain
  267. use of screen pokes. If found, it's
  268. a Plus/4 program. After this and if
  269. there is just basic and no machine
  270. language in the program, then it's
  271. regarded as a Vic program. If the
  272. file contains machine language, then
  273. it's scanned for access of the VIC
  274. and TED chips and every access adds
  275. to a machine score. The highest
  276. scorer will win and if the score is
  277. a draw, then the Vic-20 will win.
  278.  
  279. Q. How accurate can the software be
  280. when deciding what configuration to
  281. run
  282.  
  283. Well, let's just say it's not 100%
  284. accurate, but I think it's accurate
  285. enough. I occasionally find programs
  286. ending up in the wrong emulator.
  287. There are two different reasons:
  288.  
  289. 1. Someone has for example; used a
  290. C128 (in C128 mode) to copy and save
  291. a C64 program. Then the program will
  292. be identified as a C128-program. For
  293. this reason I have provided a
  294. "Change" button where you easily can
  295. save the correct starting address
  296. into the file. It works even with
  297. D64 files etc. Note that files
  298. containing the wrong starting
  299. address wouldn't be possible to auto
  300. start in VICE without PRG Starter
  301. either, but PRG Starter offers an
  302. easy way of fixing this.
  303.  
  304. 2. The second reason is if the
  305. analyzing fails. This is most common
  306. on more obscure files saved from
  307. strange memory addresses. It can
  308. also happen occasionally that the
  309. Vic/Plus4 or Vic/Pet analyze fails.
  310. Anyway, for this I have added global
  311. overrides. You just rename the file
  312. and put one of the override tags in
  313. there, for example (Vic) or (Plus4).
  314. So, in this way, you can actually
  315. get 100% of your programs to end up
  316. in the right emulator.
  317.  
  318. Q. Do you have any Further plans,
  319. for example a recent update added
  320. MINIpaint screens can be viewed with
  321. the software; And Do you feel apart
  322. from minor updates and bolt-ons that
  323. the software is complete, I suppose
  324. you could  continually add things
  325. like a GEOS File viewer for paint
  326. and document files and a converter
  327. to convert Geos written files to
  328. ASCII text or RTF, kolapad viewer
  329. etc where do you stop
  330.  
  331. Well, I have no immediate plans for
  332. PRG Starter, but I didn't have after
  333. releasing V1.0 either. If new ideas
  334. or good suggestions pop up, then
  335. there most likely will be a next
  336. version. On the other hand, it's
  337. more likely that there are less
  338. ideas left by now ;-)
  339.  
  340. Q. What has the feedback on the
  341. project been like and This may be an
  342. odd question but have you had much
  343. negative feed back about the
  344. software?
  345.  
  346. I have mostly got positive feedback.
  347. How about "one of the most useful
  348. tools in Vic emulation". Or... Here
  349. is my favourite: "This program has
  350. quickly become an essential part of
  351. my Commodore emulation experience.
  352. It's like all genius things - this
  353. should've been made a long time ago
  354. and it's a really simple idea but it
  355. took a genius to think of it and
  356. implement it!"
  357.  
  358. I have also got some feedback about
  359. files not working etc. That is
  360. valued feedback but most of it was
  361. actually because of faulty prg files
  362. that wasn't possible to auto start
  363. in VICE without PRG Starter either.
  364.  
  365. I don't think I've got any feedback
  366. that has been mainly negative from
  367. anyone who has tried the program.
  368.  
  369. Q. I notice as a nice touch when a
  370. file is run PRG Starter will display
  371. start and end memory address in both
  372. HEX and Decimal and the size of the
  373. file in bytes, is this for a reason
  374. or was it just a detail you added.
  375.  
  376. As I've described earlier, these
  377. figures are essential for what the
  378. file will be identified as.
  379.  
  380. Q. Do you have any other software
  381. projects planned for use with
  382. Commodore machines
  383.  
  384. No. Occasionally I write some
  385. programs for the Vic-20, which can
  386. be found here: http://back.to/vic20
  387.  
  388. Q. Do you have a question you wished
  389. I had asked
  390.  
  391. No, I think you covered most of it.
  392.  
  393. Q. If you could make 1 change in the
  394. world to anything what would it be
  395.  
  396. Adam and Eve shouldn't have eaten
  397. those fruits! ;-)
  398.  
  399. Thanks
  400. Anders
  401.  
  402. =====================================
  403.